package com.xzg.middleTable.dao;

import com.xzg.middleTable.entity.Label;

import java.util.List;

public interface LabelMapper {
    int deleteByPrimaryKey(Long labelId);

    int insert(Label record);

    int insertSelective(Label record);

    Label selectByPrimaryKey(Long labelId);

    int updateByPrimaryKeySelective(Label record);

    int updateByPrimaryKey(Label record);

    List<Label> selectall();

    List<Label> selectByName(List<Label> labels);

    void deleteByName(String labelName);

    Label selectByNames(String labelName);
}